﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using QuanLyDiemSinhVien.Manager;
using QuanLyDiemSinhVien.Resources.Form;

namespace QuanLyDiemSinhVien
{
    public partial class frmLogin : Form
    {
        public frmLogin()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //if ("admin".Equals(txtUserName.Text.Trim()) && "admin".Equals(txtPassword.Text.Trim()))
            //{
            MainForm mf = new MainForm();
            mf.Show();
            Opacity = 0;
            //}
            //else
            //{
            //    lblError.Visible = true;
            //    lblError.Text = @"Tên hoặc mật khẩu sai!";
            //}
        }
    }
}
